package com.sensePlusVR.activity.mine;

import org.xutils.x;
import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;

import android.view.View;
import android.widget.TextView;

import com.sensePlusVR.base.BaseActivity;
import com.sensePlusVR.main.R;
import com.sensePlusVR.utils.AppManager;

@SuppressWarnings("unused")
@ContentView(R.layout.activity_setting_purchases)
public class PurchasesSettingActivity extends BaseActivity {
	private static final String TAG = PurchasesSettingActivity.class
			.getSimpleName();
	@ViewInject(R.id.title_bar_title_tv)
	private TextView title_bar_title_tv;

	@Override
	public void setMyContentView() {
		x.view().inject(this);
	}

	@Override
	public void initView() {
		super.initView();
		AppManager.getInstance().addActivity(this);
		title_bar_title_tv.setText(R.string.setting_purchases);

	}

	@Event(value = { R.id.title_bar_left_ib })
	private void setViewOnClick(View view) {
		switch (view.getId()) {
		case R.id.title_bar_left_ib:
			AppManager.getInstance().finishActivity(this);
			break;

		default:
			break;
		}
	}

}
